package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 手机端权限权限
 * </p>
 *
 * @author hpiggy
 * @since 2024-06-26
 */
@Data
@TableName("mobile_permission")
@ApiModel(value = "MobilePermission对象", description = "手机端权限权限")
public class MobilePermission implements Serializable {

    private static final long serialVersionUID = 1L;


    private Long id;

    @ApiModelProperty("权限名称")
    private String name;

    @ApiModelProperty("权限类型 1为菜单 2为功能 3为APItype")
    private Integer type;

    @ApiModelProperty("权限编码")
    private String code;

    @ApiModelProperty("权限描述")
    private String description;

    private Integer level;

    private Long pid;

    private Integer enVisible;

}
